home *** CD-ROM | disk | FTP | other *** search
- /*
- * ARC - Archive utility - ARCDATA
- *
- * Version 2.16, created on 10/24/86 at 14:54:17
- *
- * (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
- *
- * By: Thom Henderson
- *
- * Description: This file defines the external data storage used by the ARC
- * archive utility.
- *
- *
- * Language: Computer Innovations Optimizing C86
- */
- #include <stdio.h>
-
- #define DONT_DEFINE
- #include "arc.h"
-
- INT keepbak = 0; /* true if saving the old archive */
- #ifndef MSDOS
- INT image = 0; /* true to suppress CRLF/LF x-late */
- #endif
- #ifdef MTS
- char sepchr[2] = ":";/* Shared file separator */
- char tmpchr[2] = "-";/* Temporary file prefix */
- #endif
- INT warn = 1; /* true to print warnings */
- INT note = 1; /* true to print comments */
- INT bose = 0; /* true to be verbose */
- INT nocomp = 0; /* true to suppress compression */
- INT overlay = 0; /* true to overlay on extract */
- INT kludge = 0; /* kludge flag */
- char *arctemp = NULL; /* arc temp file prefix */
- char *password = NULL;/* encryption password pointer */
- INT nerrs = 0; /* number of errors encountered */
-
- char hdrver; /* header version */
-
- FILE *arc; /* the old archive */
- FILE *new; /* the new archive */
- char arcname[100]; /* storage for archive name */
- char bakname[100]; /* storage for backup copy name */
- char newname[100]; /* storage for new archive name */
- unsigned INT arcdate = 0; /* archive date stamp */
- unsigned INT arctime = 0; /* archive time stamp */
- unsigned INT olddate = 0; /* old archive date stamp */
- unsigned INT oldtime = 0; /* old archive time stamp */
- INT dosquash = 0; /* true to squash instead of crunch */
-